package com.example.springboot.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.sql.Date;

@Data
public class User {
    private Integer id;
    private String username;
    @JsonIgnore
    private String password;
    private String nickname;
    private String email;
    private String phone;
    private Date createTime;
    private Date updateTime;
    private String avatar;
    private Integer allViews;
    private Integer articleNum;
    private Integer fensNum;
    private String ipAddress;
    private String signature;
    private String birthday;
    private String openId;
}
